//
//  WithDrawalViewController.m
//  GLGW_Shoping
//
//  Created by whx on 2018/12/5.
//  Copyright © 2018年 yang. All rights reserved.
//

#import "WithDrawalViewController.h"
#import "VerifyPhoneViewController.h"

@interface WithDrawalViewController ()
@property (nonatomic, strong) WithDrawalViewModel *viewModel;

@end

@implementation WithDrawalViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"提现";
    self.viewModel = [[WithDrawalViewModel alloc] initWithSuperView:self.view];
    self.viewModel.withDrawType = self.withDrawType;
    kWeakSelf(self);
    self.viewModel.BlockWithDraw = ^(GLGWButton * _Nullable withDraw) {
        [weakself withDraw:withDraw];
    };
    self.viewModel.BlockTapLab = ^(NSString * _Nullable tapStr) {
        [weakself tapStr:tapStr];
    };
}

- (void)tapStr:(NSString *)str
{
    
}

- (void)withDraw:(GLGWButton *)sender
{
    VerifyPhoneViewController *vc = [VerifyPhoneViewController new];
    [self.navigationController pushViewController:vc animated:YES];
}

@end
